package com.xu.mall.cms.model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 会员帐户
 * 
 * @version Revision History
 * 
 *          <pre>
 * Author     Version       Date        Changes
 * lunan.xu   1.0           2012-11-26  Created
 * </pre>
 * 
 * @since 1.
 */
public class MemberAccount implements Serializable {
	private static final long serialVersionUID = 2638270849949175292L;
	private Long accountId;//帐户Id
	private Long memberId;//会员Id
	private String accountType;//帐户类型
	private String accountNo;//帐号
	private BigDecimal balance;//余额

	/** 帐户类型 */
	public interface AccountType {
		/** 现金 */
		public final String CASH = "CASH";
		/** 积分 */
		public final String INTEGRATION = "INTEGRATION";
		/** 代金券 */
		public final String VOUCHERS = "VOUCHERS";
	}

	public Long getAccountId() {
		return accountId;
	}

	public void setAccountId(Long accountId) {
		this.accountId = accountId;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public String getAccountType() {
		return accountType;
	}

	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}

	public String getAccountNo() {
		return accountNo;
	}

	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

}
